home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QRZ! Ham Radio 8
/
QRZ Ham Radio Callsign Database - Volume 8.iso
/
pc
/
files
/
t_sys5
/
unixkit.tgz
/
unixkit.tar
/
unixkit
/
grinos.dif
next >
Wrap
Text File
|
1991-11-26
|
15KB
|
579 lines
Nov 26 12:44 1991 diff -c -l grinos.orig/8250.h g/8250.h Page 1
*** grinos.orig/8250.h Wed Nov 20 16:05:32 1991
--- g/8250.h Tue Nov 26 10:29:44 1991
***************
*** 1,5 ****
--- 1,6 ----
/* Various I/O definitions specific to asynch I/O on the IBM PC */
/* Mods by G1EMM */
+ #ifndef UNIX
#ifndef _8250_H
#define _8250_H
***************
*** 164,166 ****
--- 165,168 ----
INTERRUPT asy4vec __ARGS((void));
#endif /* _8250_H */
+ #endif /* not UNIX */
Nov 26 12:44 1991 diff -c -l grinos.orig/axheard.c g/axheard.c Page 1
*** grinos.orig/axheard.c Wed Nov 20 16:05:45 1991
--- g/axheard.c Tue Nov 26 10:30:11 1991
***************
*** 11,17 ****
#include "ip.h"
#include "timer.h"
! #define iscallsign(c) ((isupper(c)) || (isdigit(c)) || (c =='\x20'))
int axheard_filter_flag = AXHEARD_PASS;
static struct lq *al_create __ARGS((struct iface *ifp,char *addr));
--- 11,17 ----
#include "ip.h"
#include "timer.h"
! #define iscallsign(c) ((isupper(c)) || (isdigit(c)) || (c ==' '))
int axheard_filter_flag = AXHEARD_PASS;
static struct lq *al_create __ARGS((struct iface *ifp,char *addr));
Nov 26 12:44 1991 diff -c -l grinos.orig/bootpcmd.c g/bootpcmd.c Page 1
*** grinos.orig/bootpcmd.c Wed Nov 20 16:05:48 1991
--- g/bootpcmd.c Tue Nov 26 10:30:38 1991
***************
*** 12,19 ****
#include <stdio.h>
! #include <sys\types.h>
! #include <sys\stat.h>
#include <time.h>
#include <ctype.h>
#ifdef ANSIPROTO
--- 12,19 ----
#include <stdio.h>
! #include <sys/types.h>
! #include <sys/stat.h>
#include <time.h>
#include <ctype.h>
#ifdef ANSIPROTO
Nov 26 12:44 1991 diff -c -l grinos.orig/bootpd.c g/bootpd.c Page 1
*** grinos.orig/bootpd.c Wed Nov 20 16:05:48 1991
--- g/bootpd.c Tue Nov 26 10:30:55 1991
***************
*** 18,25 ****
#include <stdio.h>
! #include <sys\types.h>
! #include <sys\stat.h>
#include <ctype.h>
#include <time.h>
--- 18,25 ----
#include <stdio.h>
! #include <sys/types.h>
! #include <sys/stat.h>
#include <ctype.h>
#include <time.h>
***************
*** 379,389 ****
struct iface *iface;
struct host *hp;
{
! char cookie[5] = {99, 130, 83, 99, 0};
int len;
int mod;
int i;
char *sizep;
/* Magic cookie */
strcpy (vend, cookie);
--- 379,395 ----
struct iface *iface;
struct host *hp;
{
! char cookie[5];
int len;
int mod;
int i;
char *sizep;
+
+ cookie[0] = 99;
+ cookie[1] = 130;
+ cookie[2] = 83;
+ cookie[3] = 99;
+ cookie[4] = 0;
/* Magic cookie */
strcpy (vend, cookie);
Nov 26 12:44 1991 diff -c -l grinos.orig/bootpdip.c g/bootpdip.c Page 1
*** grinos.orig/bootpdip.c Wed Nov 20 16:05:49 1991
--- g/bootpdip.c Tue Nov 26 10:31:07 1991
***************
*** 904,910 ****
* q_enqueue()
* Enqueue an element in a simple Q.
*/
! void
q_enqueue(queue, elem)
struct q *queue;
struct q_elt *elem;
--- 904,910 ----
* q_enqueue()
* Enqueue an element in a simple Q.
*/
! static void
q_enqueue(queue, elem)
struct q *queue;
struct q_elt *elem;
Nov 26 12:44 1991 diff -c -l grinos.orig/config.h g/config.h Page 1
*** grinos.orig/config.h Wed Nov 20 16:05:52 1991
--- g/config.h Tue Nov 26 10:45:23 1991
***************
*** 9,21 ****
#define RIP 1 /* Include RIP routing */
#define HOPCHECK 1 /* IP path tracing command */
#define DIALER 1 /* SLIP redial code */
! #undef NRS 1 /* NET/ROM async interface */
#define NETROM 1 /* NET/ROM network support */
#undef LZW 1 /* LZW-compressed sockets */
#define RLOGINCLI 1 /* Rlogin client code */
#define SLIP 1 /* Serial line IP on built-in ports */
#undef PPP 1 /* Point-to-Point Protocol code */
! #define VJCOMPRESS 1 /* Van Jacobson TCP compression for SLIP */
#define POP 1 /* Include POP2 Post Office Protocol */
#define ESCAPE 1 /* Allow Unix style escape on PC */
#define RSPF 1 /* Include Radio Shortest Path First Protocol */
--- 9,21 ----
#define RIP 1 /* Include RIP routing */
#define HOPCHECK 1 /* IP path tracing command */
#define DIALER 1 /* SLIP redial code */
! #define NRS 1 /* NET/ROM async interface */
#define NETROM 1 /* NET/ROM network support */
#undef LZW 1 /* LZW-compressed sockets */
#define RLOGINCLI 1 /* Rlogin client code */
#define SLIP 1 /* Serial line IP on built-in ports */
#undef PPP 1 /* Point-to-Point Protocol code */
! #undef VJCOMPRESS 1 /* Van Jacobson TCP compression for SLIP */
#define POP 1 /* Include POP2 Post Office Protocol */
#define ESCAPE 1 /* Allow Unix style escape on PC */
#define RSPF 1 /* Include Radio Shortest Path First Protocol */
***************
*** 40,46 ****
#undef PC100 1 /* PAC-COM PC-100 driver code */
#undef APPLETALK 1 /* Appletalk interface (Macintosh) */
#undef DRSI 1 /* DRSI PCPA slow-speed driver */
! #define SCC 1 /* PE1CHL generic scc driver */
#undef PI 1 /* VE3IFB pi dma card scc driver */
#define ASY 1 /* Asynch driver code */
#undef SLFP 1 /* SLFP packet driver class supported */
--- 40,46 ----
#undef PC100 1 /* PAC-COM PC-100 driver code */
#undef APPLETALK 1 /* Appletalk interface (Macintosh) */
#undef DRSI 1 /* DRSI PCPA slow-speed driver */
! #undef SCC 1 /* PE1CHL generic scc driver */
#undef PI 1 /* VE3IFB pi dma card scc driver */
#define ASY 1 /* Asynch driver code */
#undef SLFP 1 /* SLFP packet driver class supported */
Nov 26 12:44 1991 diff -c -l grinos.orig/domain.c g/domain.c Page 1
*** grinos.orig/domain.c Wed Nov 20 16:05:55 1991
--- g/domain.c Tue Nov 26 10:31:48 1991
***************
*** 158,164 ****
return subcmd(Dcmds,argc,argv,p);
}
! int
docache(argc,argv,p)
int argc;
char *argv[];
--- 158,164 ----
return subcmd(Dcmds,argc,argv,p);
}
! static int
docache(argc,argv,p)
int argc;
char *argv[];
Nov 26 12:44 1991 diff -c -l grinos.orig/hardware.h g/hardware.h Page 1
*** grinos.orig/hardware.h Wed Nov 20 16:06:10 1991
--- g/hardware.h Tue Nov 26 10:34:06 1991
***************
*** 37,43 ****
void sccstop __ARGS((void));
/* In pc.c: */
! void clrbit __ARGS((unsigned port,char bits));
void ctick __ARGS((void));
INTERRUPT (*getirq __ARGS((unsigned int)) ) __ARGS((void));
void freescreen __ARGS((struct session *sp));
--- 37,43 ----
void sccstop __ARGS((void));
/* In pc.c: */
! /*void clrbit __ARGS((unsigned port,char bits));*/
void ctick __ARGS((void));
INTERRUPT (*getirq __ARGS((unsigned int)) ) __ARGS((void));
void freescreen __ARGS((struct session *sp));
***************
*** 50,56 ****
int maskon __ARGS((unsigned irq));
void newscreen __ARGS((struct session *sp));
void pctick __ARGS((void));
! void setbit __ARGS((unsigned port,char bits));
int setirq __ARGS((unsigned irq,INTERRUPT (*handler) __ARGS((void))));
void sysreset __ARGS((void));
void systick __ARGS((void));
--- 50,56 ----
int maskon __ARGS((unsigned irq));
void newscreen __ARGS((struct session *sp));
void pctick __ARGS((void));
! /*void setbit __ARGS((unsigned port,char bits));*/
int setirq __ARGS((unsigned irq,INTERRUPT (*handler) __ARGS((void))));
void sysreset __ARGS((void));
void systick __ARGS((void));
Nov 26 12:44 1991 diff -c -l grinos.orig/kernel.c g/kernel.c Page 1
*** grinos.orig/kernel.c Fri Nov 22 10:05:50 1991
--- g/kernel.c Tue Nov 26 10:35:15 1991
***************
*** 167,174 ****
/* Free allocated memory resources */
if(pp->freeargs){
argv = pp->parg1;
! while(pp->iarg-- != 0)
! free(*argv++);
free(pp->parg1);
}
free(pp->name);
--- 167,176 ----
/* Free allocated memory resources */
if(pp->freeargs){
argv = pp->parg1;
! while(pp->iarg-- != 0){
! free(*argv);
! argv++;
! }
free(pp->parg1);
}
free(pp->name);
Nov 26 12:44 1991 diff -c -l grinos.orig/mbuf.c g/mbuf.c Page 1
*** grinos.orig/mbuf.c Wed Nov 20 16:06:28 1991
--- g/mbuf.c Tue Nov 26 10:35:25 1991
***************
*** 37,42 ****
--- 37,43 ----
while(Intqlen < Nibufs){
if((bp = alloc_mbuf(Ibufsize)) == NULLBUF)
break;
+ #ifndef UNIX
#ifndef notdef /* Temp hack to satisfy PI DMA requirements */
dma_abs = ((long)FP_SEG(bp->data) << 4) + (long)FP_OFF(bp->data);
dma_page = dma_abs >> 16;
***************
*** 47,52 ****
--- 48,54 ----
restore(i_state);
continue;
}
+ #endif
#endif
i_state = dirps();
Nov 26 12:44 1991 diff -c -l grinos.orig/misc.c g/misc.c Page 1
*** grinos.orig/misc.c Wed Nov 20 16:06:28 1991
--- g/misc.c Tue Nov 26 10:35:33 1991
***************
*** 59,65 ****
*/
char *
strdup(s)
! const char *s;
{
register char *out;
register int len;
--- 59,65 ----
*/
char *
strdup(s)
! char *s;
{
register char *out;
register int len;
Nov 26 12:44 1991 diff -c -l grinos.orig/nrcmd.c g/nrcmd.c Page 1
*** grinos.orig/nrcmd.c Wed Nov 20 16:06:37 1991
--- g/nrcmd.c Tue Nov 26 10:35:40 1991
***************
*** 1063,1069 ****
return 0 ;
}
! int
donrload(argc,argv,p)
int argc ;
char *argv[] ;
--- 1063,1069 ----
return 0 ;
}
! static int
donrload(argc,argv,p)
int argc ;
char *argv[] ;
***************
*** 1135,1141 ****
return 0;
}
! int
donrsave(argc,argv,p)
int argc ;
char *argv[] ;
--- 1135,1141 ----
return 0;
}
! static int
donrsave(argc,argv,p)
int argc ;
char *argv[] ;
Nov 26 12:44 1991 diff -c -l grinos.orig/popcli.c g/popcli.c Page 1
*** grinos.orig/popcli.c Wed Nov 20 16:06:46 1991
--- g/popcli.c Tue Nov 26 10:35:47 1991
***************
*** 278,285 ****
char *cp;
struct sockaddr_in fsocket;
struct pop_ccb *ccb;
! void pop_csm(struct pop_ccb *);
! void quit_session(struct pop_ccb *);
ccb = (struct pop_ccb *)cb1;
fsocket.sin_family = AF_INET;
--- 278,285 ----
char *cp;
struct sockaddr_in fsocket;
struct pop_ccb *ccb;
! void pop_csm __ARGS((struct pop_ccb *));
! void quit_session __ARGS((struct pop_ccb *));
ccb = (struct pop_ccb *)cb1;
fsocket.sin_family = AF_INET;
***************
*** 347,354 ****
{
FILE *mf;
! int mlock (char *,char *);
! int rmlock (char * ,char *);
void quit_session __ARGS((struct pop_ccb *));
/* int mlock __ARGS((char *dir,char *id)); */
/* int rmlock __ARGS((char *dir,char *id)); */
--- 347,354 ----
{
FILE *mf;
! int mlock __ARGS((char *,char *));
! int rmlock __ARGS((char * ,char *));
void quit_session __ARGS((struct pop_ccb *));
/* int mlock __ARGS((char *dir,char *id)); */
/* int rmlock __ARGS((char *dir,char *id)); */
Nov 26 12:44 1991 diff -c -l grinos.orig/popserv.c g/popserv.c Page 1
*** grinos.orig/popserv.c Wed Nov 20 16:06:46 1991
--- g/popserv.c Tue Nov 26 10:35:52 1991
***************
*** 212,228 ****
struct pop_scb *scb;
{
char password[40];
! void state_error(struct pop_scb *,char *);
! void open_folder(struct pop_scb *);
! void do_cleanup(struct pop_scb *);
! void read_message(struct pop_scb *);
! void retrieve_message(struct pop_scb *);
! void deletemsg(struct pop_scb *,int);
! void get_message(struct pop_scb *,int);
! void print_message_length(struct pop_scb *);
! void close_folder(struct pop_scb *);
#ifdef POP_FOLDERS
! void select_folder(struct pop_scb *);
#endif
if(scb == NULLSCB)
--- 212,228 ----
struct pop_scb *scb;
{
char password[40];
! void state_error __ARGS((struct pop_scb *,char *));
! void open_folder __ARGS((struct pop_scb *));
! void do_cleanup __ARGS((struct pop_scb *));
! void read_message __ARGS((struct pop_scb *));
! void retrieve_message __ARGS((struct pop_scb *));
! void deletemsg __ARGS((struct pop_scb *,int));
! void get_message __ARGS((struct pop_scb *,int));
! void print_message_length __ARGS((struct pop_scb *));
! void close_folder __ARGS((struct pop_scb *));
#ifdef POP_FOLDERS
! void select_folder __ARGS((struct pop_scb *));
#endif
if(scb == NULLSCB)
***************
*** 369,376 ****
int deleted = FALSE;
int msg_no = 0;
struct stat folder_stat;
! int newmail(struct pop_scb *);
! int isdeleted(struct pop_scb *,int);
if (scb->wf == NULL)
return;
--- 369,376 ----
int deleted = FALSE;
int msg_no = 0;
struct stat folder_stat;
! int newmail __ARGS((struct pop_scb *));
! int isdeleted __ARGS((struct pop_scb *,int));
Nov 26 12:44 1991 diff -c -l grinos.orig/popserv.c g/popserv.c Page 2
if (scb->wf == NULL)
return;
***************
*** 534,540 ****
{
char line[BUF_LEN];
long cnt;
! void rrip(char *);
if(scb == NULLSCB)
return;
--- 534,540 ----
{
char line[BUF_LEN];
long cnt;
! void rrip __ARGS((char *));
if(scb == NULLSCB)
return;
***************
*** 562,568 ****
{
char line[BUF_LEN];
long ftell();
! void rrip(char *);
if(scb == NULLSCB)
return;
--- 562,568 ----
{
char line[BUF_LEN];
long ftell();
! void rrip __ARGS((char *));
if(scb == NULLSCB)
return;
Nov 26 12:44 1991 diff -c -l grinos.orig/rspf.c g/rspf.c Page 1
*** grinos.orig/rspf.c Wed Nov 20 16:06:57 1991
--- g/rspf.c Tue Nov 26 10:36:01 1991
***************
*** 392,398 ****
goodbadnews(adj); /* ..that is good news */
break;
}
! stop_timer(&oldadj->timer); /* stop timer before free() -- KZ1F */
free((char *)oldadj);
}
--- 392,399 ----
goodbadnews(adj); /* ..that is good news */
break;
}
! if(oldadj != NULLADJ) /* Careful! KA9WSB */
! stop_timer(&oldadj->timer); /* stop timer before free() -- KZ1F */
free((char *)oldadj);
}
Nov 26 12:45 1991 diff -c -l grinos.orig/version.c g/version.c Page 1
*** grinos.orig/version.c Wed Nov 20 16:07:20 1991
--- g/version.c Tue Nov 26 10:37:52 1991
***************
*** 2,10 ****
#include "config.h"
#include "global.h"
#include "mbuf.h"
! char Version[] = "910618 (PA0GRI v1.7j)";
! char Version2[] = "This version produced by Gerard van der Grinten - PA0GRI";
!
int
doinfo(argc,argv,p)
int argc;
--- 2,9 ----
#include "config.h"
#include "global.h"
#include "mbuf.h"
! char Version[] = "910618 (PA0GRI v1.7j) (KA9WSB Tb)";
! char Version2[] = "This version produced by Gerard van der Grinten - PA0GRI\nPorted to SunOS by KA9WSB";
int
doinfo(argc,argv,p)
int argc;
***************
*** 12,17 ****
--- 11,17 ----
void *p;
{
tprintf("NOS configuration information. (PA0GRI version 911020)\n");
+ tprintf("setjmp/longjmp version for UNIX systems\n");
tprintf("containing axip, RARP, POP2, NNTP, TIP,");
#ifdef SERVERS
tprintf(" TCP servers,\n");
Only in grinos.orig:
makefile
Only in g:
Makefile
bsd_io.c
bsd_nit.c
bsd_tun.c
bsdunix.c
dos.h
if_tnreg.h